<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    


<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./../../public/templateMenu.xhtml"
>

    <ui:define name="conteudo">

            <h:form>
                <p:panel  header="Responsavel" >
                    
                    <h:panelGrid columns="2">

                        <h:outputText  value="Nome: *"/>
                        <p:inputText id="nomeC" value="#{responsavelBean.responsavel.nome}" label="Nome" size="46"/>

                        <div align="south">

                            <h:panelGrid columns="6">

                                <p:commandButton value="Salvar" ajax="false" actionListener="#{responsavelBean.salvar()}"/>
                                <p:commandButton value="Limpar" type="reset"/>
                                <p:commandButton value="Cancelar" action="index.xhtml"/>
                            </h:panelGrid>
                        </div>

                    </h:panelGrid>

                </p:panel>

            </h:form>

    </ui:define>

</ui:composition>
    

</html>